package org.example.mapper;

import org.apache.ibatis.annotations.Param;
import org.example.pojo.OrderItem;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface OrderItemMapper {

    void insert(OrderItem orderItem);

    List<OrderItem> getByOrderId(Integer orderId);

    void deleteByOrderId(Integer orderId);

}